<?php
class Topic extends AppModel{

	var $name = 'Topic';

	var $hasMany = array(
		'Category' => array(
			'className' => 'Category'
		)
	);

	var $belongsTo = array(
		'DisplaySlot' => array(
			'className'	=> 'DisplaySlot',
			'foreignKey'	=> 'display_slot_id'
		)
	);

}
?>

